package 上课day1;

import java.math.BigInteger;

public class Example03 {
	public static void main(String[] args) {
		//tochararray
		String s = "abcde";
		char[] charArray = s.toCharArray();
		for (int i = 0; i < charArray.length; i++) {
			if (i == charArray.length - 1) {
				System.out.println(charArray[i]);
			}else {
				System.out.print(charArray[i] + ",");
			}
		}
		//vaalueOf 转化为字符串
		System.out.println("转化为字符串:" + String.valueOf(10));
		//转化为大写 toUpperCase
		System.out.println("全部转化为大写:" + s.toUpperCase());
		String str1 = "abc";
		String str2 = "abc";
	}
}

